﻿<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <!-- THIS PROPERTY GROUP MUST COME FIRST -->
    <AssemblyName>Microsoft.SemanticKernel.Core</AssemblyName>
    <RootNamespace>Microsoft.SemanticKernel</RootNamespace>
    <TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <NoWarn>$(NoWarn);SKEXP0001</NoWarn>
    <EnablePackageValidation>true</EnablePackageValidation>
  </PropertyGroup>

  <Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" />

  <PropertyGroup>
    <!-- NuGet Package Settings -->
    <Title>Semantic Kernel Core</Title>
    <Description>
      Semantic Kernel core orchestration, runtime and functions.
      This package is automatically installed by 'Microsoft.SemanticKernel' package with other useful packages.
      Install this package manually only if you are selecting individual Semantic Kernel components.
    </Description>
  </PropertyGroup>

  <ItemGroup>
    <InternalsVisibleTo Include="SemanticKernel.UnitTests" />
    <InternalsVisibleTo Include="SemanticKernel.Extensions.UnitTests" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Extensions.DependencyInjection" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\SemanticKernel.Abstractions\SemanticKernel.Abstractions.csproj" />
  </ItemGroup>

  <ItemGroup>
    <InternalsVisibleTo Include="Microsoft.SemanticKernel.Experimental.Assistants" />
    <InternalsVisibleTo Include="Microsoft.SemanticKernel.Connectors.OpenAI" />
  </ItemGroup>

</Project>